package com.huawei.codearts.tools.utils;

import io.etcd.jetcd.Client;

public class EtcdUtils {

    private final static String ENDPOINTS = SettingUtils.getProperty("etcd.endpoints");

    //获取etcd对象
    public static Client etcdClient() {
        return Client.builder().endpoints(ENDPOINTS.split(",")).build();
    }
}

